command: MAKEPE
syntax: MAKEPE filename [imte]
Make a valid PE file from program's memory image. Current EIP will be entrypoint of new PE.
For DLL, you must specify its imte. Command 'mod32 dllname' will show its imte.
Only available in register version.
ex:
MAKEPE d:\new.exe
MAKEPE d:\newpe.exe c1234567
see also:
PEDUMP